using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 请假实体
    /// </summary>
    [SugarTable("LeaveCancel")]
    public class LeaveCancelEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// 流程号
        /// </summary>
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 请假流程好
        /// </summary>
        public string LeaveInstanceNumber { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string StatusName { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 推送状态 -1 :推送失败，0：待推送，1:推送成功
        /// </summary>
        public int PushStatus { get; set; }

        /// <summary>
        /// 推送状态名称
        /// </summary>
        public string PushStatusName { get; set; }

        /// <summary>
        /// 推送错误信息
        /// </summary>
        public string PushErrorMsg { get; set; }

        /// <summary>
        /// 推送日期
        /// </summary>
        public DateTime? PushDate { get; set; }
    }
}
